-
Notifications
You must be signed in to change notification settings - Fork 710
Removes a smattering of, apparent, dead code #10091
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Removes a smattering of, apparent, dead code #10091
Conversation
f009c2e
to
f06457e
Compare
f06457e
to
0659052
Compare
Rebasing to include cb1b60f |
Thanks @andreabedini! |
Do you happen to still have the changes to cabal-install-solver from the draft? They looked like safe changes. |
I do, along with some more that should be safe for |
@telser: ping! Any final touches from you before we start the review? Any final comments (or answers to comments)? |
Being more conservative at the beginning was a suggestion of someone at Zurihac, though now I'm struggling to recall exactly who that was. Don't want to assign credit/blame without being sure.
Thanks bringing this back to mind @Mikolaj! Per the above, I'm happy to go with this as-is or if the consensus to to be more aggressive upfront then amending to be somewhere between what is open and the draft is completely fine by me. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Overall looks good. Sorry it took so long...
I have only one question above.
bump on the above question -- i would like to approve and merge but this should be resolved. |
Ping, ping? |
Thank you for the ping and apologies for taking so long to get back to this! I believe I've answered the question above, but need some guidance on direction that others are comfortable with. |
@telser Do you have all the guidance you need at this point? :) |
0659052
to
68153bb
Compare
I believe so, thanks! Have restored the above mentioned test and rebased against master. |
@telser Terribly sorry, but the PR has got a conflict. Please ping me when you resolve it, and we'll do the merging. Thanks! |
ping, ping, ping? |
68153bb
to
b4e4ed5
Compare
@Kleidukos I've rebased and resolved the issues, sorry again for the delays!
Thanks for the attention grab @Mikolaj! |
b4e4ed5
to
0670044
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Thank you.
Let me rebase to see if CI is green.
@mergify rebase |
✅ Branch has been successfully rebased |
0670044
to
0c6c173
Compare
We've got an error in "Validate old ghcs 8.0.2". Let me restart the job in case it's a fluke. |
OK, it was a fluke. @telser: feel free to set the merge label (if you accept our invitation to the exclusively club of the people that can do so). BTW, any other code-removing commits are very welcome! |
This pull request has been removed from the queue for the following reason: The pull request can't be updated. You should update or rebase your pull request manually. If you do, this pull request will automatically be requeued once the queue conditions match again. |
@mergify rebase |
Using weeder to find unused definitions. There are a great many more, but this was an attempt to be relatively conservative in the removal.
✅ Branch has been successfully rebased |
0c6c173
to
47d5634
Compare
Done during Zurihac:
Using weeder to find unused definitions. The roots, per weeder, should be all of the executables built from the top level directory. So all of the items removed here would appear to not be used in the execution or test paths of the codebase. There are a great many more items flagged by weeder, but this was an attempt to be relatively conservative in the removal.
This focuses the removal on internal facing items only. Which limits the gain, but also the scope.